package com.dinzeer.legendreliclib.effect;

import com.dinzeer.legendreliclib.Legendreliclib;
import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.ai.attributes.AttributeInstance;
import net.minecraft.world.entity.ai.attributes.AttributeMap;
import net.minecraft.world.entity.ai.attributes.AttributeModifier;
import net.minecraft.world.entity.ai.attributes.Attributes;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.alchemy.Potion;
import net.minecraft.world.item.alchemy.PotionUtils;
import net.minecraft.world.item.alchemy.Potions;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

import java.awt.*;
import java.util.UUID;

public class LReffect {
        // 注册器初始化
        public static final DeferredRegister<MobEffect> EFFECTS =
                DeferredRegister.create(ForgeRegistries.MOB_EFFECTS, Legendreliclib.MODID);

        // 超级力量效果
        public static final RegistryObject<MobEffect> SUPER_STRENGTH = EFFECTS.register(
                "super_strength",
                () -> new SuperStrengthEffect(MobEffectCategory.BENEFICIAL, 4351)
        );
        // 撕裂效果
        public static final RegistryObject<MobEffect> TheGreatRip = EFFECTS.register(
                "the_great_rip",
                () -> new TheGreatRip(MobEffectCategory.HARMFUL, Color.RED.getRGB())
        );
        public static final RegistryObject<MobEffect> TheMoonLove = EFFECTS.register(
                "the_moon_love",
                () -> new TheMoonLove(MobEffectCategory.BENEFICIAL, Color.YELLOW.getRGB())
        );

}
